<template>
	<view>
		<star-nav  :listType="4" title="游戏入口" icon="/static/icon-images/game.png"></star-nav>
		<view class="content">
			<games ref="gamesRef"></games>
		</view>
	</view>
</template>

<script>
	import games from './components/games/index.vue';
	export default {
		components:{
			games
		},
		data() {
			return {

			}
		},
		onShow() {
			setTimeout(()=>{
				this.$refs.gamesRef.getList()
			},500)
		},
		
		methods: {
			
		}
	}
</script>

<style lang="scss">
	page {
		width: 100%;
		height: 100vh;
		background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	}
	
	.content{
		background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
		padding: 10rpx;
	}
	
	.mt-20{
		margin-top: 20rpx;
	}
</style>